﻿using System.Collections.Generic;
using BoldBrick.OneIntranet.HR.Properties;
using BoldBrick.SharePoint.CommonControls.DataObjects.Base;

namespace BoldBrick.OneIntranet.HR.DataObjects.ContentTypes.CandidatesContentTypes
{
	/// <summary>
	/// Metadata class of "Reference Call Result" content type
	/// </summary>
	public class ReferenceCallResultContentType : ResultContentType
	{
		protected override string GetContentTypeID()
		{
			return Settings.Default.ContentType_ReferenceCallResult_ID;
		}

		protected override string GetNameResourceKey()
		{
			return "ContentType_ReferenceCallResult_Name";
		}

		protected override string GetDescriptionResourceKey()
		{
			return "ContentType_ReferenceCallResult_Description";
		}

		protected override List<ListColumn> GetChildListColumns()
		{
			List<ListColumn> columns = new List<ListColumn>
			                           	{
			                           		SiteColumns.ReferenceCompanyColumn,
			                           		SiteColumns.ReferenceNameColumn,
			                           		SiteColumns.ReferencePositionColumn
			                           	};
			return columns;
		}
	}
}
